package com.jiazhong.basic.pack0316.coll;

import java.util.*;

public class DemoC {
    public static void main(String[] args) {
        List<String> list1 = new ArrayList<>();
        List<String> list2 = Arrays.asList("aa","bb","cc");
        Set<String> set1 = new HashSet<>();
        Set<String> set2 = new HashSet<>(list2);
        System.out.println(list1);
        System.out.println(list2);
        System.out.println(set2);
    }
}
